package demo.spring.remote.server;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lushun.chen on 2017/3/25.
 *
 * @author lushun.chen
 */
public class AccountSericeImpl implements AccountService {

    @Override
    public void insertAccount(Account account) {

    }

    @Override
    public List<Account> getAccounts(String name) {
        List<Account> accountList= new ArrayList<>();
        accountList.add(new Account("张三"));
        accountList.add(new Account("张四"));
        return accountList;
    }
}
